import request from '@/utils/request'
export const queryPage = '/icps/system/sign/dataCollection/consignment/QueryPage'
export const queryPage2 = '/icps/system/sign/dataCollection/consignment/QueryPageForSupplier'
export const queryPage3 = '/icps/system/sign/settlement/client/getClientAffirm'
export const Download = '/icps/system/sign/dataCollection/consignment/receiveexportList'
export const Download2 = '/icps/system/sign/dataCollection/consignment/dealExportList'
/*获取异常处理*/
export function getConsignmentIssue(data) {
  return request({
    url: '/icps/system/sign/dataCollection/consignment/getConsignmentIssue',
    method: 'post',
    data
  })
}
/*获取检测历史数据*/
export function getListByPid(data) {
  return request({
    url: '/icps/system/sign/intelligent/make/getListByPid',
    method: 'post',
    data
  })
}
/*获取检测历史数据*/
export function save1(data) {
  return request({
    url: '/icps/system/sign/intelligent/make/save',
    method: 'post',
    data
  })
}
/*获取检测结果*/
export function getDetail(data) {
  return request({
    url: '/icps/system/sign/intelligent/result/getDetail',
    method: 'post',
    data
  })
}
/**接受或者拒绝*/
export function AcceptOrRej(data) {
  return request({
    url: '/icps/system/sign/dataCollection/consignment/AcceptOrReject',
    method: 'post',
    data
  })
}
/**接受或者拒绝*/
export function clientupdateStatus(data) {
  return request({
    url: '/icps/system/sign/settlement/client/updateStatus',
    method: 'post',
    data
  })
}
/**
 * @Description: 获取供应计划列表
 * @Param: 
 * @Author: wangwangwang
 */
export function queryListBysupplierId(data) {
  return request({
    url: '/icps/system/sign/dataCollection/supplierPlanDetail/queryListBysupplierId',
    method: 'post',
    data
  })
}

/**
 * @Description: 修改计划提交
 * @Param: 
 * @Author: wangwangwang
 */
export function makeupdatePlan(data) {
  return request({
    url: '/icps/system/sign/dataCollection/consignment/updateDetailByPlan',
    method: 'post',
    data
  })
}
